﻿<!DOCTYPE>

<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=EDGE;IE=11;IE=8,chrome=1" />
    <title>创建临时配送提请</title>
    <link href="/InSiteWebApplication/Content/Easyui/themes/metro/easyui.css" rel="stylesheet" />
    <link href="/InSiteWebApplication/Content/Easyui/custom-easyui.css" rel="stylesheet" />
    <link href="/InSiteWebApplication/Content/Easyui/themes/icon.css" rel="stylesheet" />
    <style type="text/css">
        .linkbutton{margin-left:20px;width:85px;}
        table tr td{padding:0px 5px}
    </style>
</head>
<body>
    <div class="panelSection">    
        <div class="easyui-panel " title="查询区域" style="padding:3px;width:100%" 
        data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
        <form id="searchForm">
            <table>
                <tr class="divLabel">
                    <td>任务单号：</td>
                    <td>发动机号：</td>
                    <td>订单号：</td>
                    <td>任务单类型：</td>
                </tr>
                <tr>
                    <td><input id="txtMfgorderName" class="easyui-textbox" name="ContainerNo" type="text" style="width: 120px; height: 22px" /></td>
                    <td><input id="txtProduct" class="easyui-textbox" name="Machine" type="text" style="width: 120px; height: 22px" /></td>
                    <td><input id="txtContainer" class="easyui-textbox" name="MfgOrdername" type="text" style="width: 120px; height: 22px" /></td>
                    <td><input id="OrderType" class="easyui-textbox" name="WorkFlowType" type="text" style="width: 120px; height: 22px" /></td>
                    <td>
                        <a href="javascript:void(0)" id="btnSearch" class="easyui-linkbutton"  onclick="page.searchData()">查询</a>
                        <a href="javascript:void(0)" id="btnReset" class="easyui-linkbutton"   onclick="page.searchReset()">重置</a>
                    </td>
                </tr>
            </table>
        </form> 
        </div> 
    </div> 

<!--结果区域-->
    <div class="panelSection"  style="">    
        <div class="easyui-panel " title="任务单信息" style="padding:3px;width:100%" 
        data-options="closable:false,collapsible:true,minimizable:false,maximizable:false"> 
            <div style="width:74%;float: left">
                <table id="gdContainerInfo" class="easyui-datagrid" style="width: 100%; height: 250px"
                        data-options="rownumbers:true,pagination:false,striped:true,checkOnSelect:true,selectOnCheck:true,singleSelect:false,pageNumber:1,pageSize:5,pageList:[5,10,20]">
                    </table>
                    <div id="pp" style="float: right" class="easyui-pagination" data-options="   
                 layout:['first','prev','next','last','manual','info'],              
                    total: 0,
                    showPageList: false,
                    showPageInfo: false,
                    showRefresh: false,
                    afterPageText:'共&nbsp{pages}&nbsp页',
                     buttons:[{
                            iconCls:'',
                            text:'Go',
                            id:'pageGo'
                    }]
                ">
                    </div>
            </div>
            <div style="width:25.5%;float: right"> <table id="StepTable" style="height: 250px"></table></div>
        </div>
    </div>
    <div class="panelSection" >    
        <div class="easyui-panel BigSmallTable" title="临时配送提请申请" style="padding:3px;width:100%" 
        data-options="closable:false,collapsible:true,minimizable:false,maximizable:false"> 
            <div  style="height: 200px;width:55%;float: left;"><table id="TempTable"></table></div>
            <div style="width:45%;float: right;border-left: 1px solid #ddd;">
            <form id="TempForm">
                <table  >
                <tr class="divLabel">
                    <td>任务单号</td>
                    <td>工序</td>
                    <td>任务类型</td>
                </tr>
                 <tr>
                    <td><input id="Togetherflag" class="easyui-textbox" name="Togetherflag" type="text" style="width: 180px; height: 22px"  readonly/></td>
                    <td><input id="workflowstepid" class="easyui-textbox" name="WORKFLOWSTEPID" type="text" style="width: 120px; height: 22px" data-options="editable:false"/></td>
                    <td colspan ="2" class="divLabel">
                        <!--<span style="margin-right: 15px;"><input class="easyui-radiobutton" id="Type1" labelWidth="40px" labelPosition="after" name="Type" value="1" checked="true" label="物料" data-options="onChange:page.TypeChange"/></span>-->
                            <input class="easyui-radiobutton"  id="Type0"  labelWidth="70px" labelPosition="after" name="Type" value="0" checked="true" label="工装工具"  data-options="onChange:page.TypeChange"/>
                    </td>
                </tr>
                <tr class="divLabel">
                    <td id="NAME">工装工具编码/名称</td>
                    <td style="display:none">批次号</td>
                    <td>申请数量</td>
                    <td>用途</td>
                </tr>
                 <tr>
                    <td><input name="Productid" type="hidden" id="Productid"/><input name="ENGINEPARTPLANID" type="hidden" id="ENGINEPARTPLANID"/><input name="ProductName" type="hidden" id="ProductName"/>
                    <div id="ProductCombox"></div></td>
                    <td style="display:none"><input id="Text4" class="easyui-textbox" name="ProductBatchNo" type="text" style="width: 120px; height: 22px" /></td>
                    <td><input id="Text5" class="easyui-numberbox" name="FIRSTASSEMBLEQTY" type="text" style="width: 120px; height: 22px" precision="0" min="0"/></td>
                    <td><input id="Text6" class="easyui-textbox" name="PURPOSE" type="text" style="width: 200px; height: 22px" /></td>
                </tr>
                <tr>
                    <td><a href="javascript:void(0)"  class="easyui-linkbutton" data-options="width:120" onclick="page.AddTemp()" style="margin: 10px 0 10px 20px;">新增</a></td>
                </tr>
                <tr><td style="height:58px"></td></tr>
            </table>
            </form>
            </div>
        </div>
   </div>
    <div class="panelSection">    
        <div class="easyui-panel " title="按钮区域" style="padding:3px;width:100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false"> 
             <a href="javascript:void(0)"  class="easyui-linkbutton" data-options="width:120" onclick="page.SubmitTempData()" style="margin: 10px 0 10px 20px;">提交</a>
             <a href="javascript:void(0)"  class="easyui-linkbutton" data-options="width:120" onclick="page.DeleteTempData()" style="margin: 10px 0 10px 20px;">删除</a>
             <a href="javascript:void(0)"  class="easyui-linkbutton" data-options="width:120" onclick="page.ReceivedTempData()" style="margin: 10px 0 10px 20px;">收料确认</a>
        </div>
    </div>
     <!--信息提示区域-->
     <div id="statusMessage" style="font-size: 14px; height: 40px"></div>
</body>
</html>
<script src="/InSiteWebApplication/Scripts/CustomPageJs/ReferenceJsLib.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/jquery.min.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/jquery.easyui.min.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/CustomPageJs/CustomCommon.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/ZsJs/ZSTempSendRequest.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/ZsJs/selectCombox.js" type="text/javascript"></script>